/*******************************************************************************
 * Package: com.song.kkxxpoi.controller
 * Type:    CozeWeb
 * Date:    2025-09-10 22:47
 *
 * Copyright (c) 2025 LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.song.kkxxpoi.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 功能描述：扣子智能体提供差价能力
 *
 * @author Songxianyang
 * @date 2025-09-10 22:47
 */
@Api(tags = "coze智能体提供插件能力")
@RestController
@RequestMapping("coze-web")
@Slf4j
public class CozeWeb {
    @GetMapping("/get-time")
    @ApiOperation("获取今天")
    public LocalDate getTime() {
        // 只获取当前日期
        LocalDate today = LocalDate.now();
        return today;
    }

    public static void main(String[] args) {
        // 只获取当前日期
        LocalDate today = LocalDate.now();
        System.out.println(today);
    }
}
